createEvent

public abstract Event createEvent(EventType eventType, EventParams params)

Creates and returns a new Event object with the given eventType and params.

Parameters

eventType

an EventType object representing a type of a DOM event supported by engine

params

an EventParams object representing DOM event properties (e.g. bubbles, cancellable)

See also

Throws

when the document is closed